package com.ipay.wechat.service.impl;

import com.ipay.wechat.dao.BankInfoDao;
import com.ipay.wechat.pojo.BankInfo;
import com.ipay.wechat.service.BankInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service("bankInfoService")
public class BankInfoServiceImpl implements BankInfoService {
	@Autowired
	private BankInfoDao bankInfoDao;

	@Override
	public BankInfo querryBankInfoById(Long id) {
		return bankInfoDao.querryBankInfoById(id);
	}

	@Override
	public List<BankInfo> queryList(Map<String, Object> map) {
		return bankInfoDao.queryList(map);
	}
}
